package com.jymj.dao;

import com.jymj.entity.SysRoleProjEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/7/25.
 */
@Mapper
public interface SysRoleProjDao extends BaseDao<SysRoleProjEntity> {

    /**
     * 根据角色ID，获取菜单ID列表
     */
    List<Long> queryProjIdList(Long roleId);

    List<Long> queryRoleList(Long userId);

    void saveProj(Map<String, Object> map);
}
